package com.ningxia.water.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * hz
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonIgnoreProperties(value = { "handler" })
@Accessors(chain = true)
@ApiModel("菜单表")
public class SysFrontendMenuTable implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "frontend_menu_id", type = IdType.AUTO)
    @ApiModelProperty("菜单主键ID")
    private Integer frontendMenuId;

    @ApiModelProperty("菜单名")
    private String frontendMenuName;

    @ApiModelProperty("菜单路径")
    private String frontendMenuUrl;

    @ApiModelProperty("菜单的父目录")
    private Integer pid;

    @ApiModelProperty("菜单的排序")
    private Integer frontendMenuSort;

    @ApiModelProperty("菜单的描述")
    private String description;

}
